package cn.tingting.dto;

import cn.tingting.domain.Course;
import cn.tingting.domain.CourseDetail;
import cn.tingting.domain.CourseMarket;

public class CourseDto {
    private Course course;
    private CourseDetail courseDetail;
    private CourseMarket courseMarket;

    public CourseDto(Course course, CourseDetail courseDetail, CourseMarket courseMarket) {
        this.course = course;
        this.courseDetail = courseDetail;
        this.courseMarket = courseMarket;
    }

    @Override
    public String toString() {
        return "CourseDto{" +
                "course=" + course +
                ", courseDetail=" + courseDetail +
                ", courseMarket=" + courseMarket +
                '}';
    }

    public CourseDto() {
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    public CourseDetail getCourseDetail() {
        return courseDetail;
    }

    public void setCourseDetail(CourseDetail courseDetail) {
        this.courseDetail = courseDetail;
    }

    public CourseMarket getCourseMarket() {
        return courseMarket;
    }

    public void setCourseMarket(CourseMarket courseMarket) {
        this.courseMarket = courseMarket;
    }
}
